/*
===============================
  精简版 CSS Reset
===============================
*/

/* 基础重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* HTML & Body */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

/* 媒体元素 */
img,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 列表 */
ul,
ol {
  list-style: none;
}

/* 链接 */
a {
  color: inherit;
  text-decoration: none;
}

/* 表单 */
button,
input,
select,
textarea {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* 表格 */
table {
  border-collapse: collapse;
  width: 100%;
}

/* 隐藏 */
[hidden] {
  display: none !important;
}